/**
 * DraggerEvent
 *
 * @author		Allen Chou
 * @version		1.0.2 (last update: Aug 7 2008)
 * @link		http://cjcat2266.deviantart.com
 */

package idv.cjcat.events {
	import flash.events.Event;
	
	import idv.cjcat.utils.dragger.*;
	
	public class DraggerEvent extends Event {
		
		public static const START:String = "draggerStart";
		public static const CHANGE:String = "draggerChange";
		public static const STOP:String = "draggerStop";
		
		public var dragger:Dragger;
		public var draggee:Draggee;
		public var property:String;
		public var value:Number;
		public var originalValue:Number;
		
		public function DraggerEvent(type:String, dragger:Dragger, draggee:Draggee, property:String, value:Number, originalValue:Number) {
			super(type);
			
			this.dragger = dragger;
			this.draggee = draggee;
			this.property = property;
			this.value = value;
			this.originalValue = originalValue;
		}
	}
}